//Source file: D:\\test\\com\\ce\\pms\\custservice\\model\\Dispatching.java

package com.ce.pms.custservice.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * 接单(派工)登记(值对象)
 * @author yandawei
 * @CreateDate:2008-12-8
 */
@Embeddable
public class Dispatching {

	/**
	 * 执行人
	 */
	@Column(name = "EXECUTANT",length = 36)
	private String executant;

	/**
	 * 接单时间
	 */
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "RECEIVE_TIME")
	private Date receiveTime;

	/**
	 * 处理意见
	 */
	@Column(name = "VIEWS", length = 20)
	private String views;

	/**
	 * 处理意见描述
	 */
	@Column(name = "DESCRIPTION", length = 200)
	private String description;

	/**
	 * @roseuid 4937AB2F0251
	 */
	public Dispatching() {

	}

	/**
	 * @param executant -
	 *            执行人
	 * @param receiveTime -
	 *            接单时间
	 * @param views -
	 *            处理意见,每个项目编号以逗号隔开
	 * @param description -
	 *            意见描述
	 * @return com.ce.pms.custservice.model.Dispatching
	 * @roseuid 492BC63400FA
	 */
	public Dispatching(String executant, Date receiveTime, String views,
			String description) {
		this.executant = executant;
		this.receiveTime = receiveTime;
		this.views = views;
		this.description = description;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getExecutant() {
		return executant;
	}

	public void setExecutant(String executant) {
		this.executant = executant;
	}

	public Date getReceiveTime() {
		return receiveTime;
	}

	public void setReceiveTime(Date receiveTime) {
		this.receiveTime = receiveTime;
	}

	public String getViews() {
		return views;
	}

	public void setViews(String views) {
		this.views = views;
	}
}
